/*!
 *	\brief	This file provides a basic targa file loader. It only supports 8/24/32 bit uncompressed.
 *
 */

#ifndef ROBS_TGA_LOADER__H
#define ROBS_TGA_LOADER__H




/*!
 *	\brief	This function loads a Targa image file.
 *	\param	filename	-	the name of the file to load
 *	\param	pixels		-	pointer to the pointer that will hold the pixel data (yuck)
 *	\param	w			-	the width of the image file
 *	\param	h			-	the height of the image file
 *	\param	bpp			-	the bytes per pixel of the image file.
 *	\return	1 if ok, 0 otherwise
 */
int LoadTgaImage(const char filename[],unsigned char** pixels,unsigned int *w,unsigned int *h,unsigned int* bpp);



#endif


